Quickbook API
Retrieving all booking products
GET '/products'
Description
Get all products available at Addison Lee
Authorization
The Authorization
header carried the API access token in the format AL client_id:client_secret
. Please see Security page for more information.
Content type
application/json
Query Parameters
Parameters | Description | Required? |
---|---|---|
account | Account Number used to retrieve the booking products | true |
lat | Latitud of the booking | false |
long | Longitud of the booking | false |
postcode | Postcode of the booking | false |
type | Type of the booking | false |
Response
{
"services": [
"standard_car",
"large_car",
"exec_car_platinum",
"exec_car",
"exec_large_car",
"exec_s_class_car",
"exec_large_car_platinum",
"local_partner",
"local_partner_plus",
"cycle_cab",
"pet_friendly_car",
"wheelchair_accessible_car",
"exec_estate_car",
"parcel_car",
"bicycle_courier",
"motorcycle_courier",
"small_van",
"large_van",
"luton_van",
"direct_motorcycle_courier",
"direct_small_van",
"direct_large_van",
"direct_parcel_car",
"coach_booking",
"overnight_deliveries",
"international_rates",
"overnight_bike_deliveries",
"overnight_small_van_deliveries",
"overnight_transit_van_deliveries",
"helper",
"overnight_parcel_deliveries",
"on_site_coordinator",
"wedding_car",
"nhs_select",
"black_taxi",
"al_request_passenger",
"al_request_parcel",
"al_now_parcel",
"black_taxi_assisted"
]
}
Parameters | Description |
---|---|
services | Collection of booking products related to a specific account. Each of the values of this collection represents a code associated with its product |